package com.hdoit.apollo.logical.shop.model;

import java.util.Date;
import java.util.List;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Transient;

import com.tennetcn.authority.common.message.AuthorityLoginUser;
import com.tennetcn.authority.logical.model.Role;
/**
 * @author      tancongzhu
 * @email       
 * @createtime  2018年04月24日 10:56:26
 * @comment
 */
@Entity
@Table(name="shop_staff")
public class Staff extends AuthorityLoginUser{
 /*   *//**
     *id
     *//*
    @Id
    @Column(name="id")
    private String id;*/

    /**
     *name
     */
    @Column(name="name")
    private String name;

    /**
     *code
     */
    @Column(name="code")
    private String code;
    
    @Column(name="logoId")
    private String logoId;

    /**
     *markCode
     */
    @Column(name="markCode")
    private String markCode;

    /**
     *sex
     */
    @Column(name="sex")
    private String sex;

    /**
     *mobile
     */
    @Column(name="mobile")
    private String mobile;

    /**
     *email
     */
    @Column(name="email")
    private String email;

    /**
     *businessId
     */
    @Column(name="businessId")
    private String businessId;

    /**
     *门店id
     */
    @Column(name="shopId")
    private String shopId;

    /**
     *删除标记
     */
    @Column(name="deleteMark")
    private Integer deleteMark;

    /**
     *qq
     */
    @Column(name="qq")
    private String qq;

    /**
     *微信
     */
    @Column(name="wechat")
    private String wechat;
    

    /**
     *创建时间
     */
    @Column(name="createDate")
    private Date createDate;

    /**
     *创建人id
     */
    @Column(name="createUserId")
    private String createUserId;

    /**
     *创建人名称
     */
    @Column(name="createUserName")
    private String createUserName;

    /**
     *修改时间
     */
    @Column(name="modifyDate")
    private Date modifyDate;

    /**
     *修改人id
     */
    @Column(name="modifyUserId")
    private String modifyUserId;
    

    /**
     *修改人名称
     */
    @Column(name="modifyUserName")
    private String modifyUserName;
    
    @Transient
    private List<Role> roles;
    
    @Transient
    private String roleIds;
    
    public String getRoleIds() {
		return roleIds;
	}
	public void setRoleIds(String roleIds) {
		this.roleIds = roleIds;
	}
	public List<Role> getRoles() {
		return roles;
	}
	public void setRoles(List<Role> roles) {
		this.roles = roles;
	}
/*	public String getId(){
        return this.id;
    }
    public void setId(String id){
         this.id=id;
    }*/

    public String getName(){
        return this.name;
    }
    public void setName(String name){
         this.name=name;
    }


	public String getCode(){
        return this.code;
    }
    public void setCode(String code){
         this.code=code;
    }

    public String getMarkCode(){
        return this.markCode;
    }
    public void setMarkCode(String markCode){
         this.markCode=markCode;
    }

    public String getSex(){
        return this.sex;
    }
    public void setSex(String sex){
         this.sex=sex;
    }

    public String getMobile(){
        return this.mobile;
    }
    public void setMobile(String mobile){
         this.mobile=mobile;
    }

    public String getEmail(){
        return this.email;
    }
    public void setEmail(String email){
         this.email=email;
    }

    public String getBusinessId(){
        return this.businessId;
    }
    public void setBusinessId(String businessId){
         this.businessId=businessId;
    }

    public String getShopId(){
        return this.shopId;
    }
    public void setShopId(String shopId){
         this.shopId=shopId;
    }

    public Integer getDeleteMark(){
        return this.deleteMark;
    }
    public void setDeleteMark(Integer deleteMark){
         this.deleteMark=deleteMark;
    }

    public String getQq(){
        return this.qq;
    }
    public void setQq(String qq){
         this.qq=qq;
    }

    public String getWechat(){
        return this.wechat;
    }
    public void setWechat(String wechat){
         this.wechat=wechat;
    }

    public Date getCreateDate(){
        return this.createDate;
    }
    public void setCreateDate(Date createDate){
         this.createDate=createDate;
    }

    public String getCreateUserId(){
        return this.createUserId;
    }
    public void setCreateUserId(String createUserId){
         this.createUserId=createUserId;
    }

    public String getCreateUserName(){
        return this.createUserName;
    }
    public void setCreateUserName(String createUserName){
         this.createUserName=createUserName;
    }

    public Date getModifyDate(){
        return this.modifyDate;
    }
    public void setModifyDate(Date modifyDate){
         this.modifyDate=modifyDate;
    }

    public String getModifyUserId(){
        return this.modifyUserId;
    }
    public void setModifyUserId(String modifyUserId){
         this.modifyUserId=modifyUserId;
    }

    public String getModifyUserName(){
        return this.modifyUserName;
    }
    public void setModifyUserName(String modifyUserName){
         this.modifyUserName=modifyUserName;
    }
	public String getLogoId() {
		return logoId;
	}
	public void setLogoId(String logoId) {
		this.logoId = logoId;
	}



}
